home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Extras / BOOPSI / GI1 / Include / gadgets / button.i < prev    next >
Encoding:
Text File  |  1999-10-27  |  1.5 KB  |  60 lines

  1.     IFND    GADGETS_BUTTON_I
  2. GADGETS_BUTTON_I    SET    1
  3.  
  4. **
  5. **    $VER: button.i 42.1 (10.1.94)
  6. **    Includes Release 42.1
  7. **
  8. **    Definitions for the button BOOPSI class
  9. **
  10. **    (C) Copyright 1994-1999 Amiga, Inc.
  11. **    All Rights Reserved
  12. **
  13.  
  14. ;*****************************************************************************
  15.  
  16.     IFND EXEC_TYPES_I
  17.     INCLUDE "exec/types.i"
  18.     ENDC
  19.  
  20.     IFND UTILITY_TAGITEM_H
  21.     INCLUDE "utility/tagitem.i"
  22.     ENDC
  23.  
  24.     IFND INTUITION_GADGETCLASS_I
  25.     INCLUDE "intuition/gadgetclass.i"
  26.     ENDC
  27.  
  28. ;*****************************************************************************
  29.  
  30. ; Additional attributes defined by the button.gadget class
  31. BUTTON_Dummy        equ    (TAG_USER+$04000000)
  32.  
  33. BUTTON_PushButton    equ    (BUTTON_Dummy+1)
  34.     ; (BOOL) Indicate whether button stays depressed when clicked
  35.  
  36. BUTTON_Glyph        equ    (BUTTON_Dummy+2)
  37.     ; (struct Image *) Indicate that image is to be drawn using BltTemplate
  38.  
  39. BUTTON_Array        equ    (BUTTON_Dummy+3)
  40.     ; (LONG) Indicate that text or image pointer is an array
  41.  
  42. BUTTON_TextPen        equ    (BUTTON_Dummy+5)
  43.     ; (LONG) Pen to use for text (-1 uses TEXTPEN)
  44.  
  45. BUTTON_FillPen        equ    (BUTTON_Dummy+6)
  46.     ; (LONG) Pen to use for fill (-1 uses FILLPEN)
  47.  
  48. BUTTON_FillTextPen    equ    (BUTTON_Dummy+7)
  49.     ; (LONG) Pen to use for fill (-1 uses FILLTEXTPEN)
  50.  
  51. BUTTON_BackgroundPen    equ    (BUTTON_Dummy+8)
  52.     ; (LONG) Pen to use for fill (-1 uses BACKGROUNDPEN)
  53.  
  54. BUTTON_Current        equ    (BUTTON_Dummy+9)
  55.     ; (LONG) Indicate which item in the array is current
  56.  
  57. ;*****************************************************************************
  58.  
  59.     ENDC    ; GADGETS_BUTTON_I
  60.